package com.lkxx.entity.listener;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.read.listener.ReadListener;
import com.lkxx.entity.MalfunctionTemplate;
import com.lkxx.entity.Substation;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: lkxx [mazhenjun.lk.xx@gmail.com]
 * @CreateTime: 2023-12-04  10:00
 * @Description: TODO
 * @Version: 1.0
 */
public class SubstationListener implements ReadListener<Substation> {
    List<Substation> substationList = new ArrayList<>();
    @Override
    public void invoke(Substation substation, AnalysisContext analysisContext) {
        substationList.add(substation);
    }

    @Override
    public void doAfterAllAnalysed(AnalysisContext analysisContext) {

    }
}
